package com.example.demo.util;

public class JsonResult <T>{
    String messeage;
    Integer state;
    T date;

    public JsonResult(Integer state, T date) {
        this.state = state;
        this.date = date;
    }

    public JsonResult(String messeage, Integer state) {
        this.messeage = messeage;
        this.state = state;
    }

    public String getMesseage() {
        return messeage;
    }

    public void setMesseage(String messeage) {
        this.messeage = messeage;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
}
